var ros_const =new demos.ROSpanel({
	ui: 'dark',
    id: 'constpanel',
	ROStitle: [{
        id: 'const',
        name: 'const',
        text: Ext.is.Phone ? 'CONST' : 'CONSTITUTION'
    }],
	ROSitems: [{
            id: 'wgain',
            name: 'wgain',
            text: 'Weight Gain',
        }, {
            id: 'wloss',
            name: 'wloss',
            text: 'Weight Loss',
        }, {
            id: 'anorxia',
            name: 'anorxia',
            text: 'Anorexia',
        }, {
            id: 'fever',
            name: 'fever',
            text: 'Fever',
        }, {
            id: 'chills',
            name: 'chills',
            text: 'Chills',
        }, {
            id: 'nsweats',
            name: 'nsweats',
            text: 'Night Sweats',
        }, {
            id: 'fatigue',
            name: 'fatigue',
            text: 'Fatigue',
        }, {
            id: 'weakness',
            name: 'weakness',
            text: 'Weakness',
        }, {
            id: 'insomnia',
            name: 'insomnia',
            text: 'Insomnia',
        }, {
            id: 'pain',
            name: 'pain',
            text: 'Pain'
	}]
});

var ros_eyes= new demos.ROSpanel({
	ui: 'light',
    id: 'eyespanel',
	ROStitle: [{
        id: 'eyes',
        name: 'eyes',
        text: 'EYES',
    }],
    ROSitems: [{
            id: 'dvacuity',
            name: 'dvacuity',
            text: 'Dec. Vis. Acuity',
        }, {
            id: 'eyepain',
            name: 'eyepain',
            text: 'Eye Pain',
        }, {
            id: 'glasses',
            name: 'glasses',
            text: 'Glasses'
	}]
});

var ros_ent = new demos.ROSpanel({
	ui: 'dark',
    id: 'entpanel',
	ROStitle: [{
        id: 'ent',
        name: 'ent',
        text: 'ENT',
    }],
	ROSitems: [{
            id: 'hoh',
            name: 'hoh',
            text: 'HOH',
        }, {
            id: 'nosebleed',
            name: 'nosebleed',
            text: 'Nosebleeds',
        }, {
            id: 'sinusprob',
            name: 'sinusprob',
            text: 'Sinus Probs',
        }, {
            id: 'earprob',
            name: 'earprob',
            text: 'Ear Problems',
	}]
});

var ros_cardio = new demos.ROSpanel({
	ui: 'light',
    id: 'cardiopanel',
	ROStitle: [{
        id: 'cardio',
        name: 'cardio',
        text: Ext.is.Phone ? 'CARDIO' : 'CARDIOVASCULAR',
    }],
	ROSitems: [{
            id: 'angina',
            name: 'angina',
            text: 'Angina',
        }, {
            id: 'palpi',
            name: 'palpi',
            text: 'Palpitations',
        }, {
            id: 'irrheart',
            name: 'irrheart',
            text: 'Irregular Hrt',
        }, {
            id: 'slowheart',
            name: 'slowheart',
            text: 'Slow Heart',
	}]
});

var ros_resp= new demos.ROSpanel({
	ui: 'dark',
    id: 'resppanel',
	ROStitle: [{
        id: 'resp',
        name: 'resp',
        text: Ext.is.Phone ? 'RESP' : 'RESPIRATORY',
    }],
	ROSitems: [{
            id: 'shortbrt',
            name: 'shortbrt',
            text: 'Short Breath',
        }, {
            id: 'cough',
            name: 'cough',
            text: 'Cough',
        }, {
            id: 'sputum',
            name: 'sputum',
            text: 'Sputum',
        }, {
            id: 'hemoptysis',
            name: 'hemoptysis',
            text: 'Hemoptysis',
	}]
});

var ros_gastro = new demos.ROSpanel({
	ui: 'light',
    id: 'gastropanel',
	ROStitle: [{
        id: 'gastro',
        name: 'gastro',
        text: 'GASTRO',
    }],
	ROSitems: [{
            id: 'nausia',
            name: 'nausia',
            text: 'Nausia',
        }, {
            id: 'vomit',
            name: 'vomit',
            text: 'Vomiting',
        }, {
            id: 'diarrhea',
            name: 'diarrhea',
            text: 'Diarrhea',
        }, {
            id: 'lossappet',
            name: 'losappet',
            text: 'Lost Appetite',
	}]
});

var ros_genito = new demos.ROSpanel({
	ui: 'dark',
    id: 'genitopanel',
	ROStitle: [{
        id: 'genito',
        name: 'genito',
        text: 'GENITO',
    }],
	ROSitems: [{
            id: 'urineburn',
            name: 'urineburn',
            text: 'Urinary Burn',
        }, {
            id: 'freq',
            name: 'freq',
            text: 'Frequency',
        }, {
            id: 'urgent',
            name: 'urgent',
            text: 'Urgency',
        }, {
            id: 'hesitant',
            name: 'hesitant',
            text: 'Hesitancy',
	}]
});

var ros_musculo = new demos.ROSpanel({
	ui: 'light',
    id: 'musculopanel',
	ROStitle: [{
        id: 'musculo',
        name: 'musculo',
        text: Ext.is.Phone ? 'MUSCLE' : 'MUSCULO',
    }],
	ROSitems: [{
            id: 'decrrom',
            name: 'decrrom',
            text: 'Decr. ROM',
        }, {
            id: 'backpain',
            name: 'backpain',
            text: 'Back Pain',
        }, {
            id: 'jointpain',
            name: 'jointpain',
            text: 'Joint Pain',
        }, {
            id: 'stiffness',
            name: 'stiffness',
            text: 'Stiffness',
	}]
});

var ros_integu = new demos.ROSpanel({
	ui: 'dark',
    id: 'integupanel',
	ROStitle: [{
        id: 'integu',
        name: 'integu',
        text: Ext.is.Phone ? 'INTEGU' : 'INTEGUMENTARY',
    }],
	ROSitems: [{
            id: 'skingrowth',
            name: 'skingrowth',
            text: 'Skin Growths',
        }, {
            id: 'moles',
            name: 'moles',
            text: 'Moles',
        }, {
            id: 'rash',
            name: 'rash',
            text: 'Rash',
	    }, {
            id: 'pruritis',
            name: 'pruritis',
            text: 'Pruritis',
	}]
});

var ros_neuro = new demos.ROSpanel({
	ui: 'light',
    id: 'neuropanel',
	ROStitle: [{
        id: 'neuro',
        name: 'neuro',
        text: 'NEURO',
    }],
	ROSitems: [{
            id: 'headaches',
            name: 'headaches',
            text: 'Headaches',
        }, {
            id: 'dizzy',
            name: 'dizzy',
            text: 'Dizziness',
        }, {
            id: 'seizures',
            name: 'seizures',
            text: 'Seizures',
        }, {
            id: 'altgait',
            name: 'altgait',
            text: 'Altered Gait',
	}]
});

var ros_psych = new demos.ROSpanel({
	ui: 'dark',
    id: 'psychpanel',
	ROStitle: [{
        id: 'psych',
        name: 'psych',
        text: 'PSYCH',
    }],
	ROSitems: [{
            id: 'anxiety',
            name: 'anxiety',
            text: 'Anxiety',
        }, {
            id: 'depress',
            name: 'depress',
            text: 'Depression',
        }, {
            id: 'agitation',
            name: 'agitation',
            text: 'Agitation',
        }, {
            id: 'halluci',
            name: 'halluci',
            text: 'Hallucinations',
	}]
});

var ros_endo = new demos.ROSpanel({
	ui: 'light',
    id: 'endopanel',
	ROStitle: [{
        id: 'endo',
        name: 'endo',
        text: Ext.is.Phone ? 'ENDO' : 'ENDOCRINE',
    }],
	ROSitems: [{
            id: 'diabetes',
            name: 'diabetes',
            text: 'Diabetes',
        }, {
            id: 'hypothy',
            name: 'hypothy',
            text: 'Hypothyroid',
        }, {
            id: 'intolheat',
            name: 'intolheat',
            text: 'Intolerant Heat',
        }, {
            id: 'intolcold',
            name: 'intolcold',
            text: 'Intolerant Cold',
	}]
});


demos.ROS = Ext.extend(Ext.Panel, {
	title: 'RoS',
    id: 'ros',
    cardSwitchAnimation: 'slide',
    iconCls: 'iconRoS',
//    layout: 'fit',
    centered: true,
    layoutOnOrientationChange: true,
//    floating: true,
//    modal: true,
/*    items: [
        new demos.ROSpanel({
			ui: 'dark',
		    id: 'constpanel',
  	        layoutOnOrientationChange: true,
			ROStitle: [{
		        id: 'const',
		        name: 'const',
		        text: Ext.is.Phone ? 'CONST' : 'CONSTITUTION'
		    }],
			ROSitems: [{
		            id: 'wgain',
		            name: 'wgain',
		            text: 'Weight Gain',
		        }, {
		            id: 'wloss',
		            name: 'wloss',
		            text: 'Weight Loss',
		        }, {
		            id: 'anorxia',
		            name: 'anorxia',
		            text: 'Anorexia',
		        }, {
		            id: 'fever',
		            name: 'fever',
		            text: 'Fever',
		        }, {
		            id: 'chills',
		            name: 'chills',
		            text: 'Chills',
		        }, {
		            id: 'nsweats',
		            name: 'nsweats',
		            text: 'Night Sweats',
		        }, {
		            id: 'fatigue',
		            name: 'fatigue',
		            text: 'Fatigue',
		        }, {
		            id: 'weakness',
		            name: 'weakness',
		            text: 'Weakness',
		        }, {
		            id: 'insomnia',
		            name: 'insomnia',
		            text: 'Insomnia',
		        }, {
		            id: 'pain',
		            name: 'pain',
		            text: 'Pain'
			}]
		}), 
		new demos.ROSpanel({
			ui: 'light',
		    id: 'eyespanel',
			ROStitle: [{
		        id: 'eyes',
		        name: 'eyes',
		        text: 'EYES',
		    }],
		    ROSitems: [{
		            id: 'dvacuity',
		            name: 'dvacuity',
		            text: 'Dec. Vis. Acuity',
		        }, {
		            id: 'eyepain',
		            name: 'eyepain',
		            text: 'Eye Pain',
		        }, {
		            id: 'glasses',
		            name: 'glasses',
		            text: 'Glasses'
			}]
		}), 
		ros_constitution,
        ros_eyes,
        ros_ent,
        ros_cardio,
        ros_resp,
        ros_gastro,
        ros_genito,
        ros_musculo,
        ros_integu,
        ros_neuro,
        ros_psych,
        ros_endo 
    ],*/
    initComponent: function() {
        Ext.apply(this, {
        	fullscreen: true,
            scroll: 'vertical',
        	dock: 'top',
            items: [
				ros_const,
			    ros_eyes,
			    ros_ent,
			    ros_cardio,
			    ros_resp,
			    ros_gastro,
			    ros_genito,
			    ros_musculo,
			    ros_integu,
			    ros_neuro,
			    ros_psych,
			    ros_endo 
        		/*	new demos.ROSpanel({
						ui: 'dark',
					    id: 'constpanel',
						ROStitle: [{
					        id: 'const',
					        name: 'const',
					        text: Ext.is.Phone ? 'CONST' : 'CONSTITUTION'
					    }],
						ROSitems: [{
					            id: 'wgain',
					            name: 'wgain',
					            text: 'Weight Gain',
					        }, {
					            id: 'wloss',
					            name: 'wloss',
					            text: 'Weight Loss',
					        }, {
					            id: 'anorxia',
					            name: 'anorxia',
					            text: 'Anorexia',
					        }, {
					            id: 'fever',
					            name: 'fever',
					            text: 'Fever',
					        }, {
					            id: 'chills',
					            name: 'chills',
					            text: 'Chills',
					        }, {
					            id: 'nsweats',
					            name: 'nsweats',
					            text: 'Night Sweats',
					        }, {
					            id: 'fatigue',
					            name: 'fatigue',
					            text: 'Fatigue',
					        }, {
					            id: 'weakness',
					            name: 'weakness',
					            text: 'Weakness',
					        }, {
					            id: 'insomnia',
					            name: 'insomnia',
					            text: 'Insomnia',
					        }, {
					            id: 'pain',
					            name: 'pain',
					            text: 'Pain'
						}]
					}),
					new demos.ROSpanel({
						ui: 'light',
					    id: 'eyespanel',
						ROStitle: [{
					        id: 'eyes',
					        name: 'eyes',
					        text: 'EYES',
					    }],
					    ROSitems: [{
					            id: 'dvacuity',
					            name: 'dvacuity',
					            text: 'Dec. Vis. Acuity',
					        }, {
					            id: 'eyepain',
					            name: 'eyepain',
					            text: 'Eye Pain',
					        }, {
					            id: 'glasses',
					            name: 'glasses',
					            text: 'Glasses'
						}]
					}),
					new demos.ROSpanel({
						ui: 'dark',
					    id: 'entpanel',
						ROStitle: [{
					        id: 'ent',
					        name: 'ent',
					        text: 'ENT',
					    }],
						ROSitems: [{
					            id: 'hoh',
					            name: 'hoh',
					            text: 'HOH',
					        }, {
					            id: 'nosebleed',
					            name: 'nosebleed',
					            text: 'Nosebleeds',
					        }, {
					            id: 'sinusprob',
					            name: 'sinusprob',
					            text: 'Sinus Probs',
					        }, {
					            id: 'earprob',
					            name: 'earprob',
					            text: 'Ear Problems',
						}]
					}),
					new demos.ROSpanel({
						ui: 'light',
					    id: 'cardiopanel',
						ROStitle: [{
					        id: 'cardio',
					        name: 'cardio',
					        text: Ext.is.Phone ? 'CARDIO' : 'CARDIOVASCULAR',
					    }],
						ROSitems: [{
					            id: 'angina',
					            name: 'angina',
					            text: 'Angina',
					        }, {
					            id: 'palpi',
					            name: 'palpi',
					            text: 'Palpitations',
					        }, {
					            id: 'irrheart',
					            name: 'irrheart',
					            text: 'Irregular Hrt',
					        }, {
					            id: 'slowheart',
					            name: 'slowheart',
					            text: 'Slow Heart',
						}]
					}),
					new demos.ROSpanel({
						ui: 'dark',
					    id: 'resppanel',
						ROStitle: [{
					        id: 'resp',
					        name: 'resp',
					        text: Ext.is.Phone ? 'RESP' : 'RESPIRATORY',
					    }],
						ROSitems: [{
					            id: 'shortbrt',
					            name: 'shortbrt',
					            text: 'Short Breath',
					        }, {
					            id: 'cough',
					            name: 'cough',
					            text: 'Cough',
					        }, {
					            id: 'sputum',
					            name: 'sputum',
					            text: 'Sputum',
					        }, {
					            id: 'hemoptysis',
					            name: 'hemoptysis',
					            text: 'Hemoptysis',
						}]
					}),
					new demos.ROSpanel({
						ui: 'light',
					    id: 'gastropanel',
						ROStitle: [{
					        id: 'gastro',
					        name: 'gastro',
					        text: 'GASTRO',
					    }],
						ROSitems: [{
					            id: 'nausia',
					            name: 'nausia',
					            text: 'Nausia',
					        }, {
					            id: 'vomit',
					            name: 'vomit',
					            text: 'Vomiting',
					        }, {
					            id: 'diarrhea',
					            name: 'diarrhea',
					            text: 'Diarrhea',
					        }, {
					            id: 'lossappet',
					            name: 'losappet',
					            text: 'Lost Appetite',
						}]
					}),
					new demos.ROSpanel({
						ui: 'dark',
					    id: 'genitopanel',
						ROStitle: [{
					        id: 'genito',
					        name: 'genito',
					        text: 'GENITO',
					    }],
						ROSitems: [{
					            id: 'urineburn',
					            name: 'urineburn',
					            text: 'Urinary Burn',
					        }, {
					            id: 'freq',
					            name: 'freq',
					            text: 'Frequency',
					        }, {
					            id: 'urgent',
					            name: 'urgent',
					            text: 'Urgency',
					        }, {
					            id: 'hesitant',
					            name: 'hesitant',
					            text: 'Hesitancy',
						}]
					}),
					new demos.ROSpanel({
						ui: 'light',
					    id: 'musculopanel',
						ROStitle: [{
					        id: 'musculo',
					        name: 'musculo',
					        text: Ext.is.Phone ? 'MUSCLE' : 'MUSCULO',
					    }],
						ROSitems: [{
					            id: 'decrrom',
					            name: 'decrrom',
					            text: 'Decr. ROM',
					        }, {
					            id: 'backpain',
					            name: 'backpain',
					            text: 'Back Pain',
					        }, {
					            id: 'jointpain',
					            name: 'jointpain',
					            text: 'Joint Pain',
					        }, {
					            id: 'stiffness',
					            name: 'stiffness',
					            text: 'Stiffness',
						}]
					}),
					new demos.ROSpanel({
						ui: 'dark',
					    id: 'integupanel',
						ROStitle: [{
					        id: 'integu',
					        name: 'integu',
					        text: Ext.is.Phone ? 'INTEGU' : 'INTEGUMENTARY',
					    }],
						ROSitems: [{
					            id: 'skingrowth',
					            name: 'skingrowth',
					            text: 'Skin Growths',
					        }, {
					            id: 'moles',
					            name: 'moles',
					            text: 'Moles',
					        }, {
					            id: 'rash',
					            name: 'rash',
					            text: 'Rash',
						    }, {
					            id: 'pruritis',
					            name: 'pruritis',
					            text: 'Pruritis',
						}]
					}),
					new demos.ROSpanel({
						ui: 'light',
					    id: 'neuropanel',
						ROStitle: [{
					        id: 'neuro',
					        name: 'neuro',
					        text: 'NEURO',
					    }],
						ROSitems: [{
					            id: 'headaches',
					            name: 'headaches',
					            text: 'Headaches',
					        }, {
					            id: 'dizzy',
					            name: 'dizzy',
					            text: 'Dizziness',
					        }, {
					            id: 'seizures',
					            name: 'seizures',
					            text: 'Seizures',
					        }, {
					            id: 'altgait',
					            name: 'altgait',
					            text: 'Altered Gait',
						}]
					}),
					new demos.ROSpanel({
						ui: 'dark',
					    id: 'psychpanel',
						ROStitle: [{
					        id: 'psych',
					        name: 'psych',
					        text: 'PSYCH',
					    }],
						ROSitems: [{
					            id: 'anxiety',
					            name: 'anxiety',
					            text: 'Anxiety',
					        }, {
					            id: 'depress',
					            name: 'depress',
					            text: 'Depression',
					        }, {
					            id: 'agitation',
					            name: 'agitation',
					            text: 'Agitation',
					        }, {
					            id: 'halluci',
					            name: 'halluci',
					            text: 'Hallucinations',
						}]
					}),
					new demos.ROSpanel({
						ui: 'light',
					    id: 'endopanel',
						ROStitle: [{
					        id: 'endo',
					        name: 'endo',
					        text: Ext.is.Phone ? 'ENDO' : 'ENDOCRINE',
					    }],
						ROSitems: [{
					            id: 'diabetes',
					            name: 'diabetes',
					            text: 'Diabetes',
					        }, {
					            id: 'hypothy',
					            name: 'hypothy',
					            text: 'Hypothyroid',
					        }, {
					            id: 'intolheat',
					            name: 'intolheat',
					            text: 'Intolerant Heat',
					        }, {
					            id: 'intolcold',
					            name: 'intolcold',
					            text: 'Intolerant Cold',
						}]
					}) */
            ]
	      });
          demos.ROS.superclass.initComponent.apply(this, arguments);
      }
});

Ext.reg('ros', demos.ROS);


/*        Ext.apply(this, {
dockedItems: [
{ xtype: 'toolbar',
dock: 'top',
title: 'Patient',
centered: true,
items: [{
        text: 'back',
        ui: 'back',
        handler: function() {
            if (Ext.is.Phone) demos.Tabcontrol.tabBar.setVisible(true);
            sink.Main.ui.setActiveItem(demos.Maincontrol, {type: 'slide', direction: 'right'});
            sink.Main.ui.currentCard = demos.Maincontrol;
//            demos.Tabcontrol.tabBar.setActiveItem('patients', {type: 'slide', direction: 'right'})
        }
    }, {
        xtype: 'spacer'
    }, {
        text: 'save',
        ui: 'confirm',		
        handler: function() {
            var patientbadge = demos.patientscard.tab;
            badgeNumber = parseInt(patientbadge.badgeText);
            nextNumber = isNaN(badgeNumber) ? '' : badgeNumber-1;
            patientbadge.setBadge(nextNumber);
//KR                            ROSpanel.btnCount = 0;;
//            Ext.getCmp('const1').setBadge('');
//KR                          if (ToolbarDemo.isPhone()) ToolbarDemo.views.viewport.tabBar.setVisible(true);
//KR                          ToolbarDemo.views.viewport.remove(ToolbarDemo.views.viewport.getActiveItem());
//KR                          ToolbarDemo.views.viewport.setActiveItem('patients', {type: 'slide', direction: 'right'})
        }
    }]
}]
}); */

/*var ros_constitution = new demos.ROSpanel({
ui: 'dark',
id: 'constpanel',
ROStitle: [{
    id: 'const',
    name: 'const',
    text: Ext.is.Phone ? 'CONST' : 'CONSTITUTION'
}],
ROSitems: [{
        id: 'wgain',
        name: 'wgain',
        text: 'Weight Gain',
    }, {
        id: 'wloss',
        name: 'wloss',
        text: 'Weight Loss',
    }, {
        id: 'anorxia',
        name: 'anorxia',
        text: 'Anorexia',
    }, {
        id: 'fever',
        name: 'fever',
        text: 'Fever',
    }, {
        id: 'chills',
        name: 'chills',
        text: 'Chills',
    }, {
        id: 'nsweats',
        name: 'nsweats',
        text: 'Night Sweats',
    }, {
        id: 'fatigue',
        name: 'fatigue',
        text: 'Fatigue',
    }, {
        id: 'weakness',
        name: 'weakness',
        text: 'Weakness',
    }, {
        id: 'insomnia',
        name: 'insomnia',
        text: 'Insomnia',
    }, {
        id: 'pain',
        name: 'pain',
        text: 'Pain'
}]
});

var ros_eyes = new demos.ROSpanel({
ui: 'light',
id: 'eyespanel',
ROStitle: [{
    id: 'eyes',
    name: 'eyes',
    text: 'EYES',
}],
ROSitems: [{
        id: 'dvacuity',
        name: 'dvacuity',
        text: 'Dec. Vis. Acuity',
    }, {
        id: 'eyepain',
        name: 'eyepain',
        text: 'Eye Pain',
    }, {
        id: 'glasses',
        name: 'glasses',
        text: 'Glasses'
}]
});

var ros_ent = new demos.ROSpanel({
ui: 'dark',
id: 'entpanel',
ROStitle: [{
    id: 'ent',
    name: 'ent',
    text: 'ENT',
}],
ROSitems: [{
        id: 'hoh',
        name: 'hoh',
        text: 'HOH',
    }, {
        id: 'nosebleed',
        name: 'nosebleed',
        text: 'Nosebleeds',
    }, {
        id: 'sinusprob',
        name: 'sinusprob',
        text: 'Sinus Probs',
    }, {
        id: 'earprob',
        name: 'earprob',
        text: 'Ear Problems',
}]
});

var ros_cardio = new demos.ROSpanel({
ui: 'light',
id: 'cardiopanel',
ROStitle: [{
    id: 'cardio',
    name: 'cardio',
    text: Ext.is.Phone ? 'CARDIO' : 'CARDIOVASCULAR',
}],
ROSitems: [{
        id: 'angina',
        name: 'angina',
        text: 'Angina',
    }, {
        id: 'palpi',
        name: 'palpi',
        text: 'Palpitations',
    }, {
        id: 'irrheart',
        name: 'irrheart',
        text: 'Irregular Hrt',
    }, {
        id: 'slowheart',
        name: 'slowheart',
        text: 'Slow Heart',
}]
});

var ros_resp = new demos.ROSpanel({
ui: 'dark',
id: 'resppanel',
ROStitle: [{
    id: 'resp',
    name: 'resp',
    text: Ext.is.Phone ? 'RESP' : 'RESPIRATORY',
}],
ROSitems: [{
        id: 'shortbrt',
        name: 'shortbrt',
        text: 'Short Breath',
    }, {
        id: 'cough',
        name: 'cough',
        text: 'Cough',
    }, {
        id: 'sputum',
        name: 'sputum',
        text: 'Sputum',
    }, {
        id: 'hemoptysis',
        name: 'hemoptysis',
        text: 'Hemoptysis',
}]
});

var ros_gastro = new demos.ROSpanel({
ui: 'light',
id: 'gastropanel',
ROStitle: [{
    id: 'gastro',
    name: 'gastro',
    text: 'GASTRO',
}],
ROSitems: [{
        id: 'nausia',
        name: 'nausia',
        text: 'Nausia',
    }, {
        id: 'vomit',
        name: 'vomit',
        text: 'Vomiting',
    }, {
        id: 'diarrhea',
        name: 'diarrhea',
        text: 'Diarrhea',
    }, {
        id: 'lossappet',
        name: 'losappet',
        text: 'Lost Appetite',
}]
});

var ros_genito = new demos.ROSpanel({
ui: 'dark',
id: 'genitopanel',
ROStitle: [{
    id: 'genito',
    name: 'genito',
    text: 'GENITO',
}],
ROSitems: [{
        id: 'urineburn',
        name: 'urineburn',
        text: 'Urinary Burn',
    }, {
        id: 'freq',
        name: 'freq',
        text: 'Frequency',
    }, {
        id: 'urgent',
        name: 'urgent',
        text: 'Urgency',
    }, {
        id: 'hesitant',
        name: 'hesitant',
        text: 'Hesitancy',
}]
});

var ros_musculo = new demos.ROSpanel({
ui: 'light',
id: 'musculopanel',
ROStitle: [{
    id: 'musculo',
    name: 'musculo',
    text: Ext.is.Phone ? 'MUSCLE' : 'MUSCULO',
}],
ROSitems: [{
        id: 'decrrom',
        name: 'decrrom',
        text: 'Decr. ROM',
    }, {
        id: 'backpain',
        name: 'backpain',
        text: 'Back Pain',
    }, {
        id: 'jointpain',
        name: 'jointpain',
        text: 'Joint Pain',
    }, {
        id: 'stiffness',
        name: 'stiffness',
        text: 'Stiffness',
}]
});

var ros_integu = new demos.ROSpanel({
ui: 'dark',
id: 'integupanel',
ROStitle: [{
    id: 'integu',
    name: 'integu',
    text: Ext.is.Phone ? 'INTEGU' : 'INTEGUMENTARY',
}],
ROSitems: [{
        id: 'skingrowth',
        name: 'skingrowth',
        text: 'Skin Growths',
    }, {
        id: 'moles',
        name: 'moles',
        text: 'Moles',
    }, {
        id: 'rash',
        name: 'rash',
        text: 'Rash',
    }, {
        id: 'pruritis',
        name: 'pruritis',
        text: 'Pruritis',
}]
});

var ros_neuro = new demos.ROSpanel({
ui: 'light',
id: 'neuropanel',
ROStitle: [{
    id: 'neuro',
    name: 'neuro',
    text: 'NEURO',
}],
ROSitems: [{
        id: 'headaches',
        name: 'headaches',
        text: 'Headaches',
    }, {
        id: 'dizzy',
        name: 'dizzy',
        text: 'Dizziness',
    }, {
        id: 'seizures',
        name: 'seizures',
        text: 'Seizures',
    }, {
        id: 'altgait',
        name: 'altgait',
        text: 'Altered Gait',
}]
});

var ros_psych = new demos.ROSpanel({
ui: 'dark',
id: 'psychpanel',
ROStitle: [{
    id: 'psych',
    name: 'psych',
    text: 'PSYCH',
}],
ROSitems: [{
        id: 'anxiety',
        name: 'anxiety',
        text: 'Anxiety',
    }, {
        id: 'depress',
        name: 'depress',
        text: 'Depression',
    }, {
        id: 'agitation',
        name: 'agitation',
        text: 'Agitation',
    }, {
        id: 'halluci',
        name: 'halluci',
        text: 'Hallucinations',
}]
});

var ros_endo = new demos.ROSpanel({
ui: 'light',
id: 'endopanel',
ROStitle: [{
    id: 'endo',
    name: 'endo',
    text: Ext.is.Phone ? 'ENDO' : 'ENDOCRINE',
}],
ROSitems: [{
        id: 'diabetes',
        name: 'diabetes',
        text: 'Diabetes',
    }, {
        id: 'hypothy',
        name: 'hypothy',
        text: 'Hypothyroid',
    }, {
        id: 'intolheat',
        name: 'intolheat',
        text: 'Intolerent Heat',
    }, {
        id: 'intolcold',
        name: 'intolcold',
        text: 'Intolerent Cold',
}]
}); */

